<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Chat App - Register</title>
	<link rel="stylesheet" href="/style/global.css" />
</head>

<body>
	<div class="container">

		<form class="form-group" action="/register" method="POST">
			<div class="form-item">
				<h3>Chat App - 注册</h3>
			</div>
			<div class="form-item">
				<label for="username">
					<span>用户:</span>
					<input type="text" name="username" id="username" placeholder="请输入.." required />
				</label>
			</div>
			<div class="form-item">
				<label for="nickname">
					<span>昵称:</span>
					<input type="text" name="nickname" id="nickname" placeholder="请输入.." required />
				</label>
			</div>
			<div class="form-item">
				<label for="password">
					<span>密码: </span>
					<input type="password" name="password" id="password" placeholder="请输入.." required />
				</label>
			</div>
			<div class="form-item">
				<label for="repwd">
					<span>确认密码: </span>
					<input type="password" name="repwd" id="repwd" placeholder="请输入.." required />
				</label>
			</div>
			<div class="form-item">
				<button type="submit" class="btn">注册</button>
			</div>
			<p class="register">已有账户? <a href="/">点击登录</a></p>
		</form>
	</div>
</body>

</html>